<html>

<head>

<?php

include "../includes/constants.php";
include "../includes/functions.php";
@include "../includes/profile.php";

?>

<title>Bank</title>

<script src="../includes/functions.js"></script>

<link rel="stylesheet" type="text/css" href="inventory.css">

</head>

<body>

<?php

if ($_GET["id"]) {

?>

<table border="0">
	<tr>
		<td colspan="3" align="center">
			Banker Name<br>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td>
			<table border="0">
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2000)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2004)?></td>
				</tr>
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2001)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2005)?></td>
				</tr>
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2002)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2006)?></td>
				</tr>
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2003)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2007)?></td>
				</tr>
			</table>
		</td>
		<td rowspan="3">&nbsp;</td>
		<td>
			<table border="0">
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2008)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2012)?></td>
				</tr>
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2009)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2013)?></td>
				</tr>
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2010)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2014)?></td>
				</tr>
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2011)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2015)?></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td valign="top">
			<button style="width: 100%; height: 30" onclick="this.blur()" onMouseOver="this.className='act'" onMouseOut="this.className='inact'">Auto-Bank</button>
			<center>Shared Bank</center>
			<table border="0">
				<tr>
					<td id="slot_inv"><?php GetSlotInfo(2500)?></td>
					<td id="slot_inv"><?php GetSlotInfo(2501)?></td>
				</tr>
			</table>
			<table width="100%" border="0">
				<tr id="money">
					<td title="Platinum" onMouseOver="this.className='act'" onMouseOut="this.className='inact'" nowrap>
						<img height="16" width="16" src="../images/platinum.gif">&nbsp;
						<?php echo $Profile[platinum_shared]?>
					</td>
				</tr>
			</table>
		</td>
		<td valign="top">
			<table width="100%" border="0">
				<tr id="money">
					<td title="Platinum" onMouseOver="this.className='act'" onMouseOut="this.className='inact'" nowrap>
						<img height="16" width="16" src="../images/platinum.gif">&nbsp;
						<?php echo $Profile[platinum_bank]?>
					</td>
				</tr>
				<tr id="money">
					<td title="Gold" onMouseOver="this.className='act'" onMouseOut="this.className='inact'" nowrap>
						<img height="18" width="18" src="../images/gold.gif">&nbsp;
						<?php echo $Profile[gold_bank]?>
					</td>
				</tr>
				<tr id="money">
					<td title="Silver" onMouseOver="this.className='act'" onMouseOut="this.className='inact'" nowrap>
						<img height="18" width="18" src="../images/silver.gif">&nbsp;
						<?php echo $Profile[silver_bank]?>
					</td>
				</tr>
				<tr id="money">
					<td title="Copper" onMouseOver="this.className='act'" onMouseOut="this.className='inact'" nowrap>
						<img height="18" width="18" src="../images/copper.gif">&nbsp;
						<?php echo $Profile[copper_bank]?>
					</td>
				</tr>
			</table>
			<button style="width: 100%" onclick="this.blur()" onMouseOver="this.className='act'" onMouseOut="this.className='inact'">Change</button>
		</td>
	</tr>
	<tr>
		<td>
			<button style="width: 100%" onclick="this.blur()" onMouseOver="this.className='act'" onMouseOut="this.className='inact'">Shroud Bank</button>
		</td>
		<td>
			<button style="width: 100%" onclick="window.close()" onMouseOver="this.className='act'" onMouseOut="this.className='inact'">Done</button>
		</td>
	</tr>
</table>

<?php

} else {
	echo "<form name=\"NoID\" method=\"GET\" action=\"\">Enter ID: <input type=\"text\" name=\"id\" size=\"2\"><br>\n";
};

?>

</body>

</html>